package com.itlong.cloud.POJO.VO.property;

import com.itlong.cloud.POJO.PO.DeviceElevatorFloorConfigPO;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * <desc>
 *  物业设备简单返回VO
 * </desc>
 *
 * @createDate 2017/12/15
 */
@Data
@NoArgsConstructor
public class PropertyEquipSimpleVO {

    //设备唯一码
    private String deviceUnique;

    //设备名称
    private String deviceName;

    //设备机号
    private String deviceId;

    //电梯对应的楼层
   // private String floorNo;

    private List<DeviceElevatorFloorConfigPO> floorConfigs; //电梯对应的楼层对应表信息

    //物业电梯设备楼层
    private List<PropertyElevatorFloorVO> propertyElevatorFloorVOS;

    private List<PropertyDeviceUserGroupVO> deviceUserGroupVOList;

    private String roleName;        //所属角色组名称

   // private String naturalFloor;

    //是否选中 0-选中且无法更改 1-已选中且可以更改 2-未选中
    private String isChecked;

    private String floors;      //楼层权限，多个逗号隔开

    private String deviceAddress;       //设备地址字符串，拼接后前端展示


    //设备归属地址集合
    private List<PropertyEquipAddressVO> equipAddress;

    public PropertyEquipSimpleVO(String deviceUnique, String deviceName, List<PropertyEquipAddressVO> equipAddress) {
        this.deviceUnique = deviceUnique;
        this.deviceName = deviceName;
        this.equipAddress = equipAddress;
    }
}